<?php

namespace App\Http\Controllers\Customer\Pages;

use Illuminate\Http\Request;
use App\Facades\UserService;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class UserController extends Controller
{
    //bind后填写信息
    public function userInfo(Request $request)
    {
    	$userInfo = UserService::getUserInfo();
    	return view('Personal')->with([
            'type' => $request->type,
            'user_info' => $userInfo,
            ]);

    }
    
    //bind前填写信息
    public function info(Request $request)
    {
    	$userInfo = UserService::getUserInfo();
    	return view("firstFillInfor")->with([
            'type' => $request->type,
            'user_info' => $userInfo,
            ]);
    }
    
}
